package com.example.pkmedical.Utils;

import android.util.Log;

import java.util.Arrays;

public class DistinguishUtil {
    public static boolean distinguishUtil(byte[] bytes) {
        if (bytes.length > 2) {
            if (bytes[0] == 90 && bytes[1] == -91) {
                return true;
            } else {
                Log.d("yangshuoErrorGET", Arrays.toString(bytes));
                return false;
            }
        } else {
            Log.d("yangshuoErrorGET", Arrays.toString(bytes));
            return false;
        }
    }
}
